package com.java.comprehensive.design.building_modelling.builder_pattern.heima.demo2;

public class Test {
    public static void main(String[] args) {
        //构建这模式创建对象
        Phone build = new Phone.Builder()
                .cpu("a")
                .memory("b")
                .screen("c")
                .mainboard("d").build();

    }
}
